import request from '@/utils/request.js'

// 获取所有一级板块 + 对应二级板块
export const forumBoard1Service = () => {
  return request.get('/user/forumBoard/getForumBoard')
}

// 根据一级板块获取对应的二级板块
export const forumBoard2Service = (value) => {
  return request.get('/user/forumBoard/getForumBoard2', {
    params: value,
  })
}